package com.js.service.sys;

import com.js.domian.entity.sys.DictEntity;
import com.js.mapper.sys.DictMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class DictService {

    private final DictMapper dictMapper;

    public List<DictEntity> getDictByType(String dictType){
        return dictMapper.getDictByType(dictType);
    }
}
